﻿using System;
using System.Runtime.Serialization;
using LiSA_Server.Base.AbstractContracts;
using LiSA_Server.Base.Factories;
using LiSA_Service.Reports.Actioners;

namespace LiSA_Service.Reports.Dto.Queries
{
    [DataContract]
    public class ExcelExportReportQuery : Query
    {
        [DataMember]
        public Guid ProjectID { get; set; }
        public override QueryResult Execute()
        {
            var result = ActionerFactory.Instance.Get<ReportActioner>().CreateExcelExportReport(this);

            return result;
        }
    }
}